Crate cranelift_reader

source ·
Expand description

Cranelift file reader library.

The cranelift_reader library supports reading .clif files. This functionality is needed for testing Cranelift, but is not essential for a JIT compiler.

Structs§

  • A comment in a parsed function.
  • Additional details about a function parsed from a text string. These are useful for detecting test commands embedded in comments etc. The details to not affect the semantics of the function.
  • Represent a function call; RunCommands invoke a CLIF function using an Invocation.
  • The location of a Token or Error.
  • A parse error is returned when the parse failed.
  • Options for configuring the parsing of filetests.
  • Mapping from entity names to source locations.
  • A command appearing in a test file.
  • A parsed test case.

Enums§

Functions§

Type Aliases§

  • Result of a parser operation. The ParseError variant includes a location.